<template>
    <div class="wrap-box2">
        <van-nav-bar
            title="标题2"
            left-arrow
            @click-left="onClickLeft"
        />
        <div class="box" @click="jumpThree">跳转demo2</div>
    </div>    
</template>
  

<script setup lang="ts">
import {useRoute, useRouter} from "vue-router";
const router = useRouter()
const onClickLeft = () => history.back();
const jumpThree = () => {
    router.push('/work/demo3')
}
</script>


<style scoped lang="less">
.wrap-box2{
    width:100%;
    height:100%;
    font-size:32px;
    .box{
        width:100px;
        height:80px;
        background-color:#bfa;
    }
}
</style>
